<?PHP

session_start();
if(session_destroy()) {
    echo "You have been successfully logged out.<br><a href=\"form.php\">Click here</a> to login again.";
}//if

?>